package cn.kongwg.dao;

import cn.kongwg.bean.Book;

import java.util.List;

/**
 * @author kongwg
 * @create 2021-01-26 9:46
 */
public interface BookDao {

    void addBook(Book book);


    void deleteBook(Integer id);

    void updateBook(Book book);

    Book queryBookById(Integer id);

    List<Book> queryForAll();
}
